package com.panshi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.panshi.dao")
@EnableDiscoveryClient  //开启服务发现
@EnableCaching///启动配置代码
public class HesbeiUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(HesbeiUserApplication.class, args);
    }

}
